package com.hrms.domain;

import java.text.ParseException;
import java.util.Date;
import java.util.Map;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable(detachable="true")
public class MyDashboardLog extends DashBoard {
	
	public static final String TYPE = MyDashboardLog.class.getSimpleName();
	
	@Persistent
	private Date lastModifiedTimestamp;
	
	
	@Override
	public void jdoPreStore() {
		setCreateTimestamp(new Date());
		setUserId(getUserId().toLowerCase());
	}
	public Date getLastModifiedTimestamp() {
		return lastModifiedTimestamp;
	}


	public void setLastModifiedTimestamp(Date lastModifiedTimestamp) {
		this.lastModifiedTimestamp = lastModifiedTimestamp;
	}

	public MyDashboardLog() {
		super();
	}

	public MyDashboardLog(Map<String, String[]> parameterMap, String prefix)
			throws IllegalArgumentException, IllegalAccessException,
			ParseException {
		super(parameterMap, prefix);
	}

	public MyDashboardLog(Map<String, String[]> parameterMap)
			throws IllegalArgumentException, IllegalAccessException,
			ParseException {
		super(parameterMap);
	}

	public String validate() {
		return null;
	}

	public void setLastModifyUser(String lastModifyUser) {

	}

	public void setCreatedByUser(String createdByUser) {

	}

	public String getNamer() {
		return null;
	}

}
